<?php

// File : string_utilities.php

function get_double_quoted_text($text)
{
    $return_value = "\"" . $text . "\"";
    return $return_value;
}

function get_single_quoted_text($text)
{
    $return_value = "'" . $text . "'";
    return $return_value;
}

function debug_string($string)
{
    $n = strlen($string);
    echo "The string $string has $n characters:<br />";
    for ($i = 0; $i < $n; $i++)
    {
        $character = $string[$i];
        echo ord($character);
        echo "   ";
        echo $character;
        echo "<br />";
    }
}

?>